[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
  CPUTC

  .  Summary

  cputc(int <character>);

  .  Description

  The cputc function sends <character> to the communications port.
  This is the ASCII value of the character to be sent.

  .  Return Value

  A non-zero (TRUE) value is returned unless the character can not be
  sent for some reason, in which case a value of -1 is returned.

  .  Example

  cputc('A');
  cputc(27);          // send Escape to the comm port
  cputc('M');        // send Ctrl-M (Carriage Return)
  cputc(inkeyw());

See Also: cputs ASCII table
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson